<script setup lang="ts">

</script>

<template>
<header>
  <div class="editor-bar">
    <div class="editor-bar-left">
      <div class="logo">
        <img src="/logo.png" alt="">
      </div>
      <div class="options">
        <div class="option-top">

        </div>
        <div class="option-bottom">
          <span class="tool-span">
            文件
          </span>
          <span class="tool-span">
            文件
          </span>
          <span class="tool-span">
            文件
          </span>
          <span class="tool-span">
            文件
          </span>
        </div>
      </div>
    </div>
    <div class="editor-bar-right">
      
    </div>
  </div>
  <div class="tools-bar">

  </div>
</header>
</template>

<style scoped lang="scss">

header {
  padding: 0 15px;
  width: 100%;

  .editor-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    height: 70px;
    @include borderM;
  }
  .tools-bar {
    width: 100%;
    height: 40px;
  }
  @include borderM;
}
.editor-bar-left, .editor-bar-right {
  height: 100%;
}
.editor-bar-left {
  display: flex;
  align-items: center;
  justify-content: start;
}
.logo {
  margin-right: 15px;
  height: 100%;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  img {
    width: 50px;
    height: 50px;
    object-fit: cover;
  }
}
.options {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  height: 100%;
}
.option-bottom, .option-top {
  height: 50%;
}
.option-top {
  width: 100px;
  border-bottom: 1px solid #e4e7f0;
}
.option-bottom {
  display: flex;
  justify-content: start;
  align-items: center;
  column-gap: 12px;
}
.tool-span {
  width: 40px;
  height: 24px;

  color: black;
  font-size: 13px;
  text-align: center;
  line-height: 24px;

  cursor: pointer;
  &:hover {
    background-color: #f6f7ff;
    border: 1px solid #d7d1d1;
    border-radius: 3px;
  }
}
</style>